﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenTK.Graphics.OpenGL;
using System.Drawing;

namespace Pong
{
    public class Ball
    {

        public RectangleF BallObject = new RectangleF(0, 0, 1, 1);
        public Color BallColor = Color.Yellow;
        public bool ColisionX;
        public bool ColisionY;
        public float velocity; // ?? No Movment in here?!

        public Ball()
        {

    
        }

        public void Render()
        {
            GL.Color3(BallColor);
            GL.PushMatrix();
            GL.Rect(BallObject.X, BallObject.Y, BallObject.X+BallObject.Width, BallObject.Y + BallObject.Height);
            GL.PopMatrix();
        }


       
    }
}
